import tools as Tools
import data as Data

screen = Tools.screen
Actor = Tools.Actor
Animation = Tools.Animation

class Main:
    def __init__(self):
        Tools.Debug(3,'Part3')
    def Enter(self):
        self.Pic = Actor('pic1',[Tools.CentralX(),Tools.HEIGHT+500])
        Animation(self.Pic,'accel_decel',5,None,y=Tools.CentralY())
    def Update(self):
        screen.fill((0,0,0))
        self.Pic.draw()
        screen.draw.text("你已经复习了点与线的知识，接下来开启今天的正题：",(100,100),"osans4.ttf")
        screen.draw.text("平面直角坐标系",(100,150),"osans4.ttf")